home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / hp5si.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  57.6 KB  |  1,858 lines

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "1.108"
  3. *GPDFileName: "hp5si.gpd"
  4. *Include: "StdNames.gpd"
  5. *Include: "ttfsub.gpd"
  6. *ModelName: "HP LaserJet 5Si"
  7. *MasterUnits: PAIR(1200, 1200)
  8.  
  9. *ResourceDLL: "pcl5eres.dll"
  10. *HelpFile: "hpcljx.hlp"
  11.  
  12. *FontCartSlots: 4
  13. *PrinterType: PAGE
  14. *MaxCopies: 999
  15.  
  16. *PrintRate: 24
  17. *PrintRateUnit: PPM
  18. *PrintRatePPM: 24
  19.  
  20. *rcInstalledOptionNameID:    443 *% Installed
  21. *rcNotInstalledOptionNameID: 444 *% Not Installed
  22.  
  23. *Feature: Orientation
  24. {
  25.     *rcNameID: =ORIENTATION_DISPLAY
  26.     *DefaultOption: PORTRAIT
  27.     *Option: PORTRAIT
  28.     {
  29.         *rcNameID: =PORTRAIT_DISPLAY
  30.         *Command: CmdSelect
  31.         {
  32.             *Order: DOC_SETUP.2
  33.             *NoPageEject?: TRUE
  34.             *Cmd: "<1B>&l0o1E"
  35.         }
  36.     }
  37.     *Option: LANDSCAPE_CC90
  38.     {
  39.         *rcNameID: =LANDSCAPE_DISPLAY
  40.         *Command: CmdSelect
  41.         {
  42.             *Order: DOC_SETUP.2
  43.             *NoPageEject?: TRUE
  44.             *Cmd: "<1B>&l1o1E"
  45.         }
  46.     }
  47. }
  48.  
  49. *Feature: InputBin
  50. {
  51.     *rcNameID: =PAPER_SOURCE_DISPLAY
  52.     *DefaultOption: Option1
  53.     *Option: Option1
  54.     {
  55.         *rcNameID: 271  *% Automatically Select
  56.         *Command: CmdSelect
  57.         {
  58.             *Order: DOC_SETUP.5
  59.             *Cmd: "<1B>&l7H"
  60.         }
  61.     }
  62.     *Option: UPPER
  63.     {
  64.         *rcNameID: 277  *% Tray2
  65.         *Constraints: LIST(MediaType.Transparency,MediaType.Labels)
  66.         *Command: CmdSelect
  67.         {
  68.             *Order: DOC_SETUP.5
  69.             *Cmd: "<1B>&l1H"
  70.         }
  71.     }
  72.     *Option: MANUAL
  73.     {
  74.         *rcNameID: 494  *% Manual Feed
  75.         *Command: CmdSelect
  76.         {
  77.             *Order: DOC_SETUP.5
  78.             *Cmd: "<1B>&l2H"
  79.         }
  80.     }
  81.     *Option: LOWER
  82.     {
  83.         *rcNameID: 410  *% Tray3
  84.         *Constraints: LIST(MediaType.Transparency,MediaType.Labels)
  85.         *Command: CmdSelect
  86.         {
  87.             *Order: DOC_SETUP.5
  88.             *Cmd: "<1B>&l4H"
  89.         }
  90.     }
  91.     *Option: ENVFEED
  92.     {
  93.         *rcNameID: =ENV_FEED_DISPLAY  *% Envelope Feeder
  94.         *Constraints: LIST(MediaType.Transparency)
  95.         *Command: CmdSelect
  96.         {
  97.             *Order: DOC_SETUP.5
  98.             *Cmd: "<1B>&l6H"
  99.         }
  100.     }
  101.     *Option: Option7
  102.     {
  103.         *rcNameID: 276  *% MP Tray or Tray1
  104.         *Command: CmdSelect
  105.         {
  106.             *Order: DOC_SETUP.5
  107.             *Cmd: "<1B>&l8H"
  108.         }
  109.     }
  110.     *Option: LARGECAPACITY
  111.     {
  112.         *rcNameID: 428  *% Tray4
  113.         *Constraints: LIST(MediaType.Transparency,MediaType.Labels)
  114.         *Command: CmdSelect
  115.         {
  116.             *Order: DOC_SETUP.5
  117.             *Cmd: "<1B>&l5H"
  118.         }
  119.     }
  120. }
  121.  
  122. *% IMPORTANT NOTE:
  123. *% The OEM customization code assumes that this feature's keyname is
  124. *%   "EnvFeeder"
  125. *% The OEM customization code assumes that the options are named "TRUE" and
  126. *%   "FALSE"
  127. *%
  128. *% explicit feature to constrain env feeder
  129. *Feature: EnvFeeder
  130. {
  131.     *rcNameID: =ENV_FEED_DISPLAY
  132.     *HelpIndex: 12000
  133.     *FeatureType: PRINTER_PROPERTY
  134.     *DefaultOption: FALSE
  135.     *Option: FALSE
  136.     {
  137.         *rcNameID: 444
  138.     }
  139.     *Option: TRUE
  140.     {
  141.         *rcNameID: 443
  142.     }
  143. }
  144. *InvalidCombination: LIST(EnvFeeder.FALSE,InputBin.ENVFEED)
  145.  
  146. *% IMPORTANT NOTE:
  147. *% The OEM customization code assumes that this feature's keyname is
  148. *%   "HCI"
  149. *% The OEM customization code assumes that the options are named "NONE" and
  150. *%   "2000HCI"
  151. *%
  152. *% explicit feature to constrain tray 4
  153. *Feature: HCI
  154. {
  155.     *rcNameID: 373   *%High Capacity Input
  156.     *HelpIndex: 12001
  157.     *FeatureType: PRINTER_PROPERTY
  158.     *DefaultOption: NONE
  159.     *Option: NONE
  160.     {
  161.         *rcNameID: 444
  162.     }
  163.     *Option: 2000HCI
  164.     {
  165.         *rcNameID: 427
  166.     }
  167. }
  168. *InvalidCombination: LIST(HCI.NONE,InputBin.LARGECAPACITY)
  169.  
  170. *Feature: Resolution
  171. {
  172.     *rcNameID: =RESOLUTION_DISPLAY
  173.     *DefaultOption: Option1
  174.     *Option: Option1
  175.     {
  176.         *Name: "600 x 600 " =DOTS_PER_INCH
  177.         *DPI: PAIR(600, 600)
  178.         *TextDPI: PAIR(600, 600)
  179.         *MinStripBlankPixels: 32
  180.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  181.         *SpotDiameter: 100
  182.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  183.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  184.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  185.         *Command: CmdSelect
  186.         {
  187.             *Order: JOB_SETUP.6
  188.             *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  189.         }
  190.     }
  191.     *Option: Option2
  192.     {
  193.         *Name: "300 x 300 " =DOTS_PER_INCH
  194.         *DPI: PAIR(300, 300)
  195.         *TextDPI: PAIR(300, 300)
  196.         *MinStripBlankPixels: 32
  197.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  198.         *SpotDiameter: 100
  199.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  200.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  201.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  202.         *Command: CmdSelect
  203.         {
  204.             *Order: JOB_SETUP.6
  205.             *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  206.         }
  207.     }
  208. }
  209.  
  210.  
  211. *% define macro for common paper constraints
  212. *BlockMacro: PaperConstraints
  213. {
  214.     *Constraints: LIST(InputBin.UPPER, InputBin.LOWER, InputBin.LARGECAPACITY)
  215. }
  216.  
  217.  
  218. *Feature: PaperSize
  219. {
  220.     *rcNameID: =PAPER_SIZE_DISPLAY
  221.     *HelpIndex: 13022
  222.  
  223.     *DefaultOption: LETTER
  224.     *Option: LETTER
  225.     {
  226.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  227.         *PageProtectMem: 4109
  228.         *Constraints: InputBin.ENVFEED
  229.         *switch: Orientation
  230.         {
  231.             *case: PORTRAIT
  232.             {
  233.                 *PrintableArea: PAIR(9600, 12800)
  234.                 *PrintableOrigin: PAIR(300, 200)
  235.                 *CursorOrigin: PAIR(300, 200)
  236.                 *Command: CmdSelect
  237.                 {
  238.                     *Order: DOC_SETUP.6
  239.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7680Y"
  240.                 }
  241.             }
  242.             *case: LANDSCAPE_CC90
  243.             {
  244.                 *PrintableArea: PAIR(9800, 12720)
  245.                 *PrintableOrigin: PAIR(200, 240)
  246.                 *CursorOrigin: PAIR(200, 12960)
  247.                 *Command: CmdSelect
  248.                 {
  249.                     *Order: DOC_SETUP.6
  250.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  251.                 }
  252.             }
  253.         }
  254.     }
  255.    
  256.     *Option: LEGAL
  257.     {
  258.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  259.         *PageProtectMem: 5230
  260.         *Constraints: InputBin.ENVFEED
  261.         *switch: Orientation
  262.         {
  263.             *case: PORTRAIT
  264.             {
  265.                 *PrintableArea: PAIR(9600, 16400)
  266.                 *PrintableOrigin: PAIR(300, 200)
  267.                 *CursorOrigin: PAIR(300, 200)
  268.                 *Command: CmdSelect
  269.                 {
  270.                     *Order: DOC_SETUP.6
  271.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9840Y"
  272.                 }
  273.             }
  274.             *case: LANDSCAPE_CC90
  275.             {
  276.                 *PrintableArea: PAIR(9800, 16320)
  277.                 *PrintableOrigin: PAIR(200, 240)
  278.                 *CursorOrigin: PAIR(200, 16560)
  279.                 *Command: CmdSelect
  280.                 {
  281.                     *Order: DOC_SETUP.6
  282.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  283.                 }
  284.             }
  285.         }
  286.     }
  287.     *Option: EXECUTIVE
  288.     {
  289.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  290.         *PageProtectMem: 4109
  291.         *InsertBlock: =PaperConstraints
  292.         *Constraints: InputBin.ENVFEED
  293.         *switch: Orientation
  294.         {
  295.             *case: PORTRAIT
  296.             {
  297.                 *PrintableArea: PAIR(8100, 12200)
  298.                 *PrintableOrigin: PAIR(300, 200)
  299.                 *CursorOrigin: PAIR(300, 200)
  300.                 *Command: CmdSelect
  301.                 {
  302.                     *Order: DOC_SETUP.6
  303.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7320Y"
  304.                 }
  305.             }
  306.             *case: LANDSCAPE_CC90
  307.             {
  308.                 *PrintableArea: PAIR(8300, 12120)
  309.                 *PrintableOrigin: PAIR(200, 240)
  310.                 *CursorOrigin: PAIR(200, 12360)
  311.                 *Command: CmdSelect
  312.                 {
  313.                     *Order: DOC_SETUP.6
  314.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  315.                 }
  316.             }
  317.         }
  318.     }
  319.     *Option: 11X17
  320.     {
  321.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  322.        
  323.         *PageProtectMem: 9350
  324.         *Constraints: InputBin.UPPER
  325.         *Constraints: InputBin.ENVFEED
  326.         *switch: Orientation
  327.         {
  328.             *case: PORTRAIT
  329.             {
  330.                 *PrintableArea: PAIR(12600, 20000)
  331.                 *PrintableOrigin: PAIR(300, 200)
  332.                 *CursorOrigin: PAIR(300, 200)
  333.                 *Command: CmdSelect
  334.                 {
  335.                     *Order: DOC_SETUP.6
  336.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y"
  337.                 }
  338.             }
  339.             *case: LANDSCAPE_CC90
  340.             {
  341.                 *PrintableArea: PAIR(12800, 19920)
  342.                 *PrintableOrigin: PAIR(200, 240)
  343.                 *CursorOrigin: PAIR(200, 20160)
  344.                 *Command: CmdSelect
  345.                 {
  346.                     *Order: DOC_SETUP.6
  347.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11952x7680Y"
  348.                 }
  349.             }
  350.         }
  351.     }
  352.  
  353.     *Option: A4
  354.     {
  355.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  356.         *PageProtectMem: 4249
  357.         *Constraints: InputBin.ENVFEED
  358.         *switch: Orientation
  359.         {
  360.             *case: PORTRAIT
  361.             {
  362.                 *PrintableArea: PAIR(9352, 13628)
  363.                 *PrintableOrigin: PAIR(284, 200)
  364.                 *CursorOrigin: PAIR(284, 200)
  365.                 *Command: CmdSelect
  366.                 {
  367.                     *Order: DOC_SETUP.6
  368.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5611x8177Y"
  369.                 }
  370.             }
  371.             *case: LANDSCAPE_CC90
  372.             {
  373.                 *PrintableArea: PAIR(9520, 13556)
  374.                 *PrintableOrigin: PAIR(200, 236)
  375.                 *CursorOrigin: PAIR(200, 13792)
  376.                 *Command: CmdSelect
  377.                 {
  378.                     *Order: DOC_SETUP.6
  379.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8134x5712Y"
  380.                 }
  381.             }
  382.         }
  383.     }
  384.     *Option: ENV_10
  385.     {
  386.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  387.         *PageProtectMem: 4109
  388.         *InsertBlock: =PaperConstraints
  389.         *Constraints: Duplex.VERTICAL
  390.         *Constraints: Duplex.HORIZONTAL
  391.         *switch: Orientation
  392.         {
  393.             *case: PORTRAIT
  394.             {
  395.                 *PrintableArea: PAIR(4348, 11000)
  396.                 *PrintableOrigin: PAIR(300, 200)
  397.                 *CursorOrigin: PAIR(300, 200)
  398.                 *Command: CmdSelect
  399.                 {
  400.                     *Order: DOC_SETUP.6
  401.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2609x6600Y"
  402.                 }
  403.             }
  404.             *case: LANDSCAPE_CC90
  405.             {
  406.                 *PrintableArea: PAIR(4548, 10920)
  407.                 *PrintableOrigin: PAIR(200, 240)
  408.                 *CursorOrigin: PAIR(200, 11160)
  409.                 *Command: CmdSelect
  410.                 {
  411.                     *Order: DOC_SETUP.6
  412.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6552x2729Y"
  413.                 }
  414.             }
  415.         }
  416.     }
  417.     *Option: ENV_DL
  418.     {
  419.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  420.         *PageProtectMem: 4109
  421.         *InsertBlock: =PaperConstraints
  422.         *Constraints: Duplex.VERTICAL
  423.         *Constraints: Duplex.HORIZONTAL
  424.         *switch: Orientation
  425.         {
  426.             *case: PORTRAIT
  427.             {
  428.                 *PrintableArea: PAIR(4628, 9992)
  429.                 *PrintableOrigin: PAIR(284, 200)
  430.                 *CursorOrigin: PAIR(284, 200)
  431.                 *Command: CmdSelect
  432.                 {
  433.                     *Order: DOC_SETUP.6
  434.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2777x5995Y"
  435.                 }
  436.             }
  437.             *case: LANDSCAPE_CC90
  438.             {
  439.                 *PrintableArea: PAIR(4796, 9920)
  440.                 *PrintableOrigin: PAIR(200, 236)
  441.                 *CursorOrigin: PAIR(200,10156)
  442.                 *Command: CmdSelect
  443.                 {
  444.                     *Order: DOC_SETUP.6
  445.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5952x2878Y"
  446.                 }
  447.             }
  448.         }
  449.     }
  450.     *Option: ENV_MONARCH
  451.     {
  452.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  453.         *PageProtectMem: 4109
  454.         *InsertBlock: =PaperConstraints
  455.         *Constraints: Duplex.VERTICAL
  456.         *Constraints: Duplex.HORIZONTAL
  457.         *switch: Orientation
  458.         {
  459.             *case: PORTRAIT
  460.             {
  461.                 *PrintableArea: PAIR(4048, 8600)
  462.                 *PrintableOrigin: PAIR(300, 200)
  463.                 *CursorOrigin: PAIR(300, 200)
  464.                 *Command: CmdSelect
  465.                 {
  466.                     *Order: DOC_SETUP.6
  467.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2429x5160Y"
  468.                 }
  469.             }
  470.             *case: LANDSCAPE_CC90
  471.             {
  472.                 *PrintableArea: PAIR(4248, 8520)
  473.                 *PrintableOrigin: PAIR(200, 240)
  474.                 *CursorOrigin: PAIR(200, 8760)
  475.                 *Command: CmdSelect
  476.                 {
  477.                     *Order: DOC_SETUP.6
  478.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5112x2549Y"
  479.                 }
  480.             }
  481.         }
  482.     }
  483.     *Option: A3
  484.     {
  485.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  486.         *PageProtectMem: 9667
  487.         *Constraints: InputBin.ENVFEED
  488.         *Constraints: InputBin.UPPER
  489.         *switch: Orientation
  490.         {
  491.             *case: PORTRAIT
  492.             {
  493.                 *PrintableArea: PAIR(13460, 19440)
  494.                 *PrintableOrigin: PAIR(284, 200)
  495.                 *CursorOrigin: PAIR(284, 200)
  496.                 *Command: CmdSelect
  497.                 {
  498.                     *Order: DOC_SETUP.6
  499.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8076x11664Y"
  500.                 }
  501.             }
  502.             *case: LANDSCAPE_CC90
  503.             {
  504.                 *PrintableArea: PAIR(13628, 19368)
  505.                 *PrintableOrigin: PAIR(200, 236)
  506.                 *CursorOrigin: PAIR(200, 19604)
  507.                 *Command: CmdSelect
  508.                 {
  509.                     *Order: DOC_SETUP.6
  510.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11621x8177Y"
  511.                 }
  512.             }
  513.         }
  514.     }
  515.     *Option: B4
  516.     {
  517.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  518.         *PageProtectMem: 6391
  519.         *Constraints: InputBin.ENVFEED
  520.         *switch: Orientation
  521.         {
  522.             *case: PORTRAIT
  523.             {
  524.                 *PrintableArea: PAIR(11572, 16796)
  525.                 *PrintableOrigin: PAIR(284, 200)
  526.                 *CursorOrigin: PAIR(284, 200)
  527.                 *Command: CmdSelect
  528.                 {
  529.                     *Order: DOC_SETUP.6
  530.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t6943x10078Y"
  531.                 }
  532.             }
  533.             *case: LANDSCAPE_CC90
  534.             {
  535.                 *PrintableArea: PAIR(11740, 16724)
  536.                 *PrintableOrigin: PAIR(200, 236)
  537.                 *CursorOrigin: PAIR(200, 16960)
  538.                 *Command: CmdSelect
  539.                 {
  540.                     *Order: DOC_SETUP.6
  541.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t10034x7044Y"
  542.                 }
  543.             }
  544.         }
  545.     }
  546.     *Option: B5
  547.     {
  548.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  549.         *PageProtectMem: 3198
  550.         *InsertBlock: =PaperConstraints
  551.         *Constraints: InputBin.ENVFEED
  552.         *switch: Orientation
  553.         {
  554.             *case: PORTRAIT
  555.             {
  556.                 *PrintableArea: PAIR(8028, 11740)
  557.                 *PrintableOrigin: PAIR(284, 200)
  558.                 *CursorOrigin: PAIR(284, 200)
  559.                 *Command: CmdSelect
  560.                 {
  561.                     *Order: DOC_SETUP.6
  562.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4817x7044Y"
  563.                 }
  564.             }
  565.             *case: LANDSCAPE_CC90
  566.             {
  567.                 *PrintableArea: PAIR(8196, 11668)
  568.                 *PrintableOrigin: PAIR(200, 236)
  569.                 *CursorOrigin: PAIR(200, 11904)
  570.                 *Command: CmdSelect
  571.                 {
  572.                     *Order: DOC_SETUP.6
  573.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t7001x4918Y"
  574.                 }
  575.             }
  576.         }
  577.     }
  578.     *Option: ENV_C5
  579.     {
  580.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  581.         *PageProtectMem: 4109
  582.         *InsertBlock: =PaperConstraints
  583.         *Constraints: Duplex.VERTICAL
  584.         *Constraints: Duplex.HORIZONTAL
  585.         *switch: Orientation
  586.         {
  587.             *case: PORTRAIT
  588.             {
  589.                 *PrintableArea: PAIR(7084, 10416)
  590.                 *PrintableOrigin: PAIR(284, 200)
  591.                 *CursorOrigin: PAIR(284, 200)
  592.                 *Command: CmdSelect
  593.                 {
  594.                     *Order: DOC_SETUP.6
  595.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4250x6250Y"
  596.                 }
  597.             }
  598.             *case: LANDSCAPE_CC90
  599.             {
  600.                 *PrintableArea: PAIR(7252, 10344)
  601.                 *PrintableOrigin: PAIR(200, 236)
  602.                 *CursorOrigin: PAIR(200, 10580)
  603.                 *Command: CmdSelect
  604.                 {
  605.                     *Order: DOC_SETUP.6
  606.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6206x4351Y"
  607.                 }
  608.             }
  609.         }
  610.     }
  611. *Ifdef: WINNT_50
  612.     *Option: DBL_JAPANESE_POSTCARD_ROTATED
  613.     {
  614.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  615.         *PageProtectMem: 4109
  616.         *Constraints: InputBin.ENVFEED
  617.         *Constraints: Duplex.VERTICAL
  618.         *Constraints: Duplex.HORIZONTAL
  619.         *InsertBlock: =PaperConstraints
  620.         *switch: Orientation
  621.         {
  622.             *case: PORTRAIT
  623.             {
  624.                 *PrintableArea: PAIR(6392,9048)
  625.                 *PrintableOrigin: PAIR(300, 200)
  626.                 *CursorOrigin: PAIR(300, 200)
  627.                 *Command: CmdSelect
  628.                 {
  629.                     *Order: DOC_SETUP.6
  630.                     *Cmd: "<1B>&l72a8c1E<1B>*p0x0Y<1B>*c0t3835x5429Y"
  631.                 }
  632.             }
  633.             *case: LANDSCAPE_CC90
  634.             {
  635.                 *PrintableArea: PAIR(6592, 8968)
  636.                 *PrintableOrigin: PAIR(200, 240)
  637.                 *CursorOrigin: PAIR(200, 9208)
  638.                 *Command: CmdSelect
  639.                 {
  640.                     *Order: DOC_SETUP.6
  641.                     *Cmd: "<1B>&l72a8c1E<1B>*p0x0Y<1B>*c0t5381x3955Y"
  642.                 }
  643.             }
  644.         }
  645.     }
  646. *Endif: WINNT_50
  647.     *Option: CUSTOMSIZE
  648.     {
  649.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  650.         *MinSize: PAIR(4632,9000)
  651.         *MaxSize: PAIR(14040, 21240)
  652.         *MaxPrintableWidth: 14040
  653.         *MinLeftMargin: 100
  654.         *CenterPrintable?: FALSE
  655.         *PageProtectMem: 1692
  656.         *InsertBlock: =PaperConstraints
  657.         *Constraints: InputBin.ENVFEED
  658.         *switch: Orientation
  659.         {
  660.             *case: PORTRAIT
  661.             {
  662.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 14040) / 2) +300}
  663.                 *CustCursorOriginY:   %d{200 }
  664.                 *CustPrintableOriginX:  %d{200}
  665.                 *CustPrintableOriginY:  %d{200}
  666.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 400 }
  667.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 400 }
  668.                 *Command: CmdSelect
  669.                 {
  670.                      *Order: DOC_SETUP.6
  671.                      *Cmd: "<1B>&l101a8c1e99F<1B>*p0x0Y<1B>*c0t8184x12504Y"
  672.                 }
  673.             }
  674.             *case: LANDSCAPE_CC90
  675.             {
  676.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 14040) / 2) +200 }
  677.                 *CustCursorOriginY:   %d{21000}
  678.                 *CustPrintableOriginX:  %d{200}
  679.                 *CustPrintableOriginY:  %d{240}
  680.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 400 }
  681.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 480 }
  682.  
  683.                 *Command: CmdSelect
  684.                 {
  685.                     *Order: DOC_SETUP.6
  686.                     *Cmd: "<1B>&l101a8c1e63F<1B>*p0x0Y<1B>*c0t12456x8184Y"
  687.                 }
  688.            }
  689.         }
  690.     }
  691.     *Option: MyMax117x177
  692.     {
  693.         *% Maximum 11.7 x17.7
  694.         *rcNameID: 262
  695.         *PageDimensions: PAIR(14040, 21240)
  696.         *PageProtectMem: 10000
  697.         *InsertBlock: =PaperConstraints
  698.         *Constraints: InputBin.ENVFEED 
  699.         *Constraints: Duplex.VERTICAL
  700.         *Constraints: Duplex.HORIZONTAL
  701.         *switch: Orientation
  702.         {
  703.             *case: PORTRAIT
  704.             {
  705.                 *PrintableArea: PAIR(13440, 20840)
  706.                 *PrintableOrigin: PAIR(300, 200)
  707.                 *CursorOrigin: PAIR(300, 200)
  708.                 *Command: CmdSelect
  709.                 {
  710.                     *Order: DOC_SETUP.6
  711.                     *Cmd: "<1B>&l101a1e99F<1B>*p0x0Y<1B>*c0t8064x12504Y"
  712.                 }
  713.             }
  714.             *case: LANDSCAPE_CC90
  715.             {
  716.                 *PrintableArea: PAIR(13640, 20760)
  717.                 *PrintableOrigin: PAIR(200, 240)
  718.                 *CursorOrigin: PAIR(200, 21000)
  719.                 *Command: CmdSelect
  720.                 {
  721.                     *Order: DOC_SETUP.6
  722.                     *Cmd: "<1B>&l101a1e63F<1B>*p0x0Y<1B>*c0t12456x8184Y"
  723.                 }
  724.             }
  725.         }
  726.     }
  727.  
  728.     *Option: ENV_B5
  729.     {
  730.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  731.         *PageProtectMem: 4109
  732.         *InsertBlock: =PaperConstraints
  733.         *Constraints: Duplex.VERTICAL
  734.         *Constraints: Duplex.HORIZONTAL
  735.         *switch: Orientation
  736.         {
  737.             *case: PORTRAIT
  738.             {
  739.                 *PrintableArea: PAIR(7744, 11408)
  740.                 *PrintableOrigin: PAIR(284, 200)
  741.                 *CursorOrigin: PAIR(284, 200)
  742.                 *Command: CmdSelect
  743.                 {
  744.                     *Order: DOC_SETUP.6
  745.                     *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t4646x6845Y"
  746.                 }
  747.             }
  748.             *case: LANDSCAPE_CC90
  749.             {
  750.                 *PrintableArea: PAIR(7912, 11336)
  751.                 *PrintableOrigin: PAIR(200, 236)
  752.                 *CursorOrigin: PAIR(200, 11572)
  753.                 *Command: CmdSelect
  754.                 {
  755.                     *Order: DOC_SETUP.6
  756.                     *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t6802x4747Y"
  757.                 }
  758.             }
  759.         }
  760.     }
  761.     
  762. }
  763.  
  764.  
  765. *% MPH: attempt to add media type selection
  766. *Feature: MediaType
  767. {
  768.     *rcNameID: =MEDIA_TYPE_DISPLAY
  769.     *DefaultOption: AutoSelect
  770.  
  771.     *Option: AutoSelect
  772.     {
  773.         *rcNameID: 271
  774.         *Command: CmdSelect
  775.         {
  776.             *Order: DOC_SETUP.6
  777.             *Cmd: ""
  778.         }
  779.     }
  780.     *Option: Plain
  781.     {
  782.         *rcNameID: 435   *% Plain
  783.         *Command: CmdSelect
  784.         {
  785.             *Order: DOC_SETUP.6
  786.             *Cmd: "<1B>&n6WdPlain"
  787.         }
  788.     }
  789.     *Option: Preprinted
  790.     {
  791.         *rcNameID: 436   *% Preprinted
  792.         *Command: CmdSelect
  793.         {
  794.             *Order: DOC_SETUP.6
  795.             *Cmd: "<1B>&n11WdPreprinted"
  796.         }
  797.     }
  798.     *Option: Letterhead
  799.     {
  800.         *rcNameID: 437   *% Letterhead
  801.         *Command: CmdSelect
  802.         {
  803.             *Order: DOC_SETUP.6
  804.             *Cmd: "<1B>&n11WdLetterhead"
  805.         }
  806.     }
  807.     *Option: Transparency
  808.     {
  809.         *rcNameID: =TRANSPARENCY_DISPLAY    *% Transparency
  810.         *Constraints: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL, OutputBin.Option13)
  811.         *Command: CmdSelect
  812.         {
  813.             *Order: DOC_SETUP.6
  814.             *Cmd: "<1B>&n13WdTransparency"
  815.         }
  816.     }
  817.     *Option: Prepunched
  818.     {
  819.         *rcNameID: 438   *% Prepunched
  820.         *Command: CmdSelect
  821.         {
  822.             *Order: DOC_SETUP.6
  823.             *Cmd: "<1B>&n11WdPrepunched"
  824.         }
  825.     }
  826.     *Option: Labels
  827.     {
  828.         *rcNameID: 439   *% Labels
  829.         *Constraints: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL, OutputBin.Option13)
  830.         *Command: CmdSelect
  831.         {
  832.             *Order: DOC_SETUP.6
  833.             *Cmd: "<1B>&n7WdLabels"
  834.         }
  835.     }
  836.     *Option: Bond
  837.     {
  838.         *rcNameID: 269   *% Bond
  839.         *Command: CmdSelect
  840.         {
  841.             *Order: DOC_SETUP.6
  842.             *Cmd: "<1B>&n5WdBond"
  843.         }
  844.     }
  845.     *Option: Recycled
  846.     {
  847.         *rcNameID: 440   *% Recycled
  848.         *Command: CmdSelect
  849.         {
  850.             *Order: DOC_SETUP.6
  851.             *Cmd: "<1B>&n9WdRecycled"
  852.         }
  853.     }
  854.     *Option: Color
  855.     {
  856.         *rcNameID: 441   *% Color
  857.         *Command: CmdSelect
  858.         {
  859.             *Order: DOC_SETUP.6
  860.             *Cmd: "<1B>&n6WdColor"
  861.         }
  862.     }
  863.     *Option: CardStock
  864.     {
  865.         *rcNameID: 442   *% Cardstock
  866.         *Command: CmdSelect
  867.         {
  868.             *Order: DOC_SETUP.6
  869.             *Cmd: "<1B>&n11WdCard Stock"
  870.         }
  871.     }
  872. }
  873. *%  Constrain against stapling a collated job without a hard disk!
  874. *InvalidCombination: LIST(PrinterHardDisk.FALSE, Collate.ON, OutputBin.Option13)
  875.  
  876. *% printer supports collation only if PrinterHardDisk installed
  877. *% (see CopyCmd and PrinterHardDisk)
  878. *Feature: Collate
  879. {
  880.     *rcNameID: 392 
  881.  
  882.     *DefaultOption: OFF
  883.     *Option: ON
  884.     {
  885.         *rcNameID: =ON_DISPLAY
  886.         *switch: PrinterHardDisk
  887.         {
  888.             *case: FALSE
  889.             {
  890.                 *Command: CmdSelect
  891.                 {
  892.                     *Order: JOB_SETUP.5
  893.                     *% Collate requested but no disk => printer collate disabled
  894.                     *% Print Processor will take care of collated copies
  895.                     *Cmd: ""
  896.                 }
  897.             }
  898.             *case: TRUE
  899.             {
  900.                 *Command: CmdSelect
  901.                 {
  902.                     *Order: JOB_SETUP.5
  903.                     *% Collate requested with disk => printer collate enabled
  904.                     *% Printer will take care of collated copies
  905.                     *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>"
  906.                 }
  907.             }
  908.         }
  909.     }
  910.     *Option: OFF
  911.     {
  912.         *rcNameID: =OFF_DISPLAY
  913.         *Command: CmdSelect
  914.         {
  915.             *Order: JOB_SETUP.5
  916.             *Cmd: ""
  917.         }
  918.     }
  919. }
  920.  
  921. *% IMPORTANT NOTE:
  922. *% The OEM customization code assumes that this feature's keyname is
  923. *%   "PrinterHardDisk"
  924. *% The OEM customization code assumes that the options are named "TRUE" and
  925. *%   "FALSE"
  926. *%
  927. *% feature to explicitly constrain Collate
  928. *Feature: PrinterHardDisk
  929. {
  930.     *rcNameID: 430
  931.     *HelpIndex: 12002
  932.     *FeatureType: PRINTER_PROPERTY
  933.     *DefaultOption: FALSE
  934.     *Option: FALSE
  935.     {
  936.         *rcNameID: 444
  937.         *DisabledFeatures: LIST(Collate)
  938.     }
  939.     *Option: TRUE
  940.     {
  941.         *rcNameID: 443
  942.     }
  943. }
  944.  
  945.  
  946. *Feature: Economode
  947. {
  948.     *rcNameID: 377  *% EconoMode
  949.     *HelpIndex: 12009
  950.     *DefaultOption: Option1
  951.     *Option: Option1
  952.     {
  953.         *rcNameID: 266
  954.         *Command: CmdSelect
  955.         {
  956.             *Order: JOB_SETUP.3
  957.             *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  958.         }
  959.     }
  960.     *Option: Option2
  961.     {
  962.         *rcNameID: 267
  963.         *Command: CmdSelect
  964.         {
  965.             *Order: JOB_SETUP.3
  966.             *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  967.         }
  968.     }
  969. }
  970.  
  971.  
  972. *Feature: RET
  973. {
  974.     *rcNameID: 378
  975.     *HelpIndex: 12010
  976.     *DefaultOption: Option1
  977.     *Option: Option1
  978.     {
  979.         *rcNameID: 296
  980.         *Command: CmdSelect
  981.         {
  982.             *Order: JOB_SETUP.4
  983.             *Cmd: "@PJL SET RET=ON<0A>"
  984.         }
  985.     }
  986.     *Option: Option2
  987.     {
  988.         *rcNameID: 300
  989.         *Command: CmdSelect
  990.         {
  991.             *Order: JOB_SETUP.4
  992.             *Cmd: "@PJL SET RET=OFF<0A>"
  993.         }
  994.     }
  995. }
  996.  
  997. *Feature: Halftone
  998. {
  999.     *rcNameID: =HALFTONING_DISPLAY
  1000.     *DefaultOption: HT_PATSIZE_AUTO
  1001.     *Option: HT_PATSIZE_AUTO
  1002.     {
  1003.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1004.     }
  1005.     *Option: HT_PATSIZE_SUPERCELL_M
  1006.     {
  1007.         *rcNameID: =HT_SUPERCELL_DISPLAY
  1008.     }
  1009.     *Option: HT_PATSIZE_6x6_M
  1010.     {
  1011.         *rcNameID: =HT_DITHER6X6_DISPLAY
  1012.     }
  1013.     *Option: HT_PATSIZE_8x8_M
  1014.     {
  1015.         *rcNameID: =HT_DITHER8X8_DISPLAY
  1016.     }
  1017. }
  1018. *Feature: Memory
  1019. {
  1020.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  1021.     *HelpIndex: 12003
  1022.     *DefaultOption: 4096KB
  1023. *% Default (on board) is 4MB.  4 memory slots with 2,4,8,16 & 32 MB dimms avail.
  1024. *% Max memory is 128 (+4 on board) = 132
  1025.     *MemConfigKB: PAIR(4096, 3150)
  1026.     *MemConfigKB: PAIR(6144, 4950)
  1027.     *MemConfigKB: PAIR(8192, 6750)
  1028.     *MemConfigKB: PAIR(10240, 8550)
  1029.     *MemConfigKB: PAIR(12288, 10350)
  1030.     *MemConfigKB: PAIR(14336, 12150)
  1031.     *MemConfigKB: PAIR(16384, 13950)
  1032.     *MemConfigKB: PAIR(18432, 15750)
  1033.     *MemConfigKB: PAIR(20480, 17550)
  1034.     *MemConfigKB: PAIR(22528, 19350)
  1035.     *MemConfigKB: PAIR(24576, 21150)
  1036.     *MemConfigKB: PAIR(26624, 22950)
  1037.     *MemConfigKB: PAIR(28672, 24750)
  1038.     *MemConfigKB: PAIR(30720, 26550)
  1039.     *MemConfigKB: PAIR(32768, 28350)
  1040.     *MemConfigKB: PAIR(34816, 30150)
  1041.     *MemConfigKB: PAIR(36864, 31950)
  1042.     *MemConfigKB: PAIR(38912, 33750)
  1043.     *MemConfigKB: PAIR(40960, 35550)
  1044.     *MemConfigKB: PAIR(43008, 37350)
  1045.     *MemConfigKB: PAIR(45056, 39150)
  1046.     *MemConfigKB: PAIR(47104, 40950)
  1047.     *MemConfigKB: PAIR(49152, 42750)
  1048.     *MemConfigKB: PAIR(51200, 51083)
  1049.     *MemConfigKB: PAIR(53248, 46350)
  1050.     *MemConfigKB: PAIR(55296, 48150)
  1051.     *MemConfigKB: PAIR(57344, 49950)
  1052.     *MemConfigKB: PAIR(59392, 51750)
  1053.     *MemConfigKB: PAIR(61440, 53550)
  1054.     *MemConfigKB: PAIR(63488, 55350)
  1055.     *MemConfigKB: PAIR(65536, 57150)
  1056.     *MemConfigKB: PAIR(67584, 58950)
  1057.     *MemConfigKB: PAIR(69632, 60750)
  1058.     *MemConfigKB: PAIR(71680, 62550)
  1059.     *MemConfigKB: PAIR(73728, 64350)
  1060.     *MemConfigKB: PAIR(75766, 66146)
  1061.     *MemConfigKB: PAIR(77824, 67944)
  1062.     *MemConfigKB: PAIR(81920, 71520)
  1063.     *MemConfigKB: PAIR(86016, 75096)
  1064.     *MemConfigKB: PAIR(88064, 76884)
  1065.     *MemConfigKB: PAIR(90112, 78672)
  1066.     *MemConfigKB: PAIR(94208, 82248)
  1067.     *MemConfigKB: PAIR(100352, 87612)
  1068.     *MemConfigKB: PAIR(102400, 89400)
  1069.     *MemConfigKB: PAIR(104448, 90869)
  1070.     *MemConfigKB: PAIR(106496, 92652)
  1071.     *MemConfigKB: PAIR(110592, 96215)
  1072.     *MemConfigKB: PAIR(118784, 103342)
  1073.     *MemConfigKB: PAIR(135168, 117596)
  1074. }
  1075.  
  1076. *% IMPORTANT NOTE:
  1077. *% The OEM customization code assumes that this feature's keyname is
  1078. *%   "DuplexUnit"
  1079. *% The OEM customization code assumes that the options are named "TRUE" and
  1080. *%   "FALSE"
  1081. *%
  1082. *% new explicit constraint (non synthesized) for Duplex
  1083. *Feature: DuplexUnit
  1084. {
  1085.     *rcNameID: 429 *% Duplex Unit
  1086.     *HelpIndex: 12004
  1087.     *FeatureType: PRINTER_PROPERTY
  1088.     *DefaultOption: TRUE
  1089.     *Option: FALSE
  1090.     {
  1091.         *rcNameID: 444
  1092.         *DisabledFeatures: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL)
  1093.     }
  1094.     *Option: TRUE
  1095.     {
  1096.         *rcNameID: 443
  1097.     }
  1098. }
  1099.  
  1100. *Feature: Duplex
  1101. {
  1102.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1103.     *DefaultOption: NONE
  1104.     *Option: NONE
  1105.     {
  1106.         *rcNameID: =NONE_DISPLAY
  1107.         *Command: CmdSelect
  1108.         {
  1109.             *Order: DOC_SETUP.3
  1110.             *Cmd: "<1B>&l0S"
  1111.         }
  1112.     }
  1113.     *Option: VERTICAL
  1114.     {
  1115.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1116.         *Command: CmdSelect
  1117.         {
  1118.             *Order: DOC_SETUP.4
  1119.             *Cmd: "<1B>&l1S"
  1120.         }
  1121.         *Constraints: LIST(MediaType.Labels, MediaType.Transparency)
  1122.     }
  1123.     *Option: HORIZONTAL
  1124.     {
  1125.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1126.         *Command: CmdSelect
  1127.         {
  1128.             *Order: DOC_SETUP.4
  1129.             *Cmd: "<1B>&l2S"
  1130.         }
  1131.         *Constraints: LIST(MediaType.Labels, MediaType.Transparency)
  1132.     }
  1133. }
  1134.  
  1135. *%
  1136. *% Duplex / Unit, Sizes, Types constraints
  1137. *%
  1138. *InvalidCombination: LIST(DuplexUnit.FALSE,  Duplex.VERTICAL)
  1139. *InvalidCombination: LIST(DuplexUnit.FALSE,  Duplex.HORIZONTAL)
  1140. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_10)
  1141. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_DL)
  1142. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_MONARCH)
  1143. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_C5)
  1144. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_B5)
  1145.  
  1146. *Ifdef: WINNT_50
  1147. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  1148. *Endif: WINNT_50
  1149. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.MyMax117x177)
  1150. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_10)
  1151. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_DL)
  1152. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_MONARCH)
  1153. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_C5)
  1154. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_B5)
  1155.  
  1156. *Ifdef: WINNT_50
  1157. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  1158. *Endif: WINNT_50
  1159. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.MyMax117x177)
  1160.  
  1161.  
  1162. *% IMPORTANT NOTE:
  1163. *% The OEM customization code assumes that this feature's keyname is
  1164. *%   "Option21"
  1165. *% The OEM customization code assumes that the options are named "Mailbox",
  1166. *%   "Stacker" and "Separator"
  1167. *Feature: Option21
  1168. {
  1169.     *rcNameID: 423   *% Mailbox Mode
  1170.     *HelpIndex: 12015
  1171.     *FeatureType: PRINTER_PROPERTY
  1172.     *Option: MailboxModeMailbox
  1173.     {
  1174.         *rcNameID: 422  *% Mailbox
  1175.     }
  1176.     *Option: MailboxModeStacker
  1177.     {
  1178.         *rcNameID: 431  *% Stacker
  1179.         *DisabledFeatures: LIST(Stapling)
  1180.     }
  1181.     *Option: MailboxModeSeparator
  1182.     {
  1183.         *rcNameID: 432  *% Job Separator
  1184.         *DisabledFeatures: LIST(Stapling)
  1185.     }
  1186. }
  1187.  
  1188. *% Feature that allows user to select which, if any, accessory output
  1189. *% bin is installed.
  1190. *% Called "Option20" because that's what PPD calls it.
  1191. *Feature: Option20
  1192. {
  1193.     *rcNameID: 582  *% Accessory Output Bin
  1194.     *HelpIndex: 12012
  1195.     *FeatureType: PRINTER_PROPERTY
  1196.     *DefaultOption: Standard
  1197.     *Option: Standard
  1198.     {
  1199.         *rcNameID: 426  *% Left Face Up
  1200.         *DisabledFeatures: LIST(Stapling)
  1201.     }
  1202.     *Option: MBM5S
  1203.     {
  1204.         *rcNameID: 425
  1205.     }
  1206.     *Option: MBM8
  1207.     {
  1208.         *rcNameID: 424
  1209.         *DisabledFeatures: LIST(Stapling)
  1210.     }
  1211.     *Option: None
  1212.     {
  1213.         *rcNameID: 444
  1214.         *DisabledFeatures: LIST(Stapling)
  1215.     }
  1216. }
  1217.  
  1218.  
  1219. *% define stapling capability for directory services
  1220. *% + The OEMUI DLL will hide this from the Doc Defaults Advanced tree-view.
  1221. *% + The user selects stapling from Output Bin (Stapler).
  1222. *% + Disabled if 5binHCO not installed OR Option21 not in Mailbox mode.
  1223. *Feature: Stapling
  1224. {
  1225.     *rcNameID: 433 *% Stapler
  1226.     *Option: Bogus
  1227.     {
  1228.         *Name: "Select from Output Bin"
  1229.     }
  1230. }
  1231.  
  1232.  
  1233. *% IMPORTANT NOTE:
  1234. *% The OEM customization code that goes with this minidriver (hp5si5ui.dll)
  1235. *% assumes that all these output bins are defined and are defined in the
  1236. *% current order.  (Don't change it!)  These are hard-coded defines in
  1237. *% the OEM code.
  1238. *Feature: OutputBin
  1239. {
  1240.     *rcNameID: =OUTPUTBIN_DISPLAY
  1241.     *HelpIndex: 12011
  1242.     *DefaultOption: Option1
  1243.     *Option: Option1
  1244.     {
  1245.         *% Auto Select
  1246.         *rcNameID: 271
  1247.         *Command: CmdSelect
  1248.         {
  1249.         }
  1250.     }
  1251.     *Option: Option2
  1252.     {
  1253.         *% Top Face-Down
  1254.         *rcNameID: 282
  1255.         *Command: CmdSelect
  1256.         {
  1257.             *Order: JOB_SETUP.5
  1258.             *Cmd: "@PJL SET OUTBIN=UPPER<0A>"
  1259.         }
  1260.     }
  1261.     *Option: Option3
  1262.     {
  1263.         *% Left Face-Up
  1264.         *rcNameID: 283
  1265.         *OutputOrderReversed?:  TRUE
  1266.         *Command: CmdSelect
  1267.         {
  1268.             *Order: JOB_SETUP.5
  1269.             *Cmd: "@PJL SET OUTBIN=LOWER<0A>"
  1270.         }
  1271.     }
  1272.     *Option: Option4
  1273.     {
  1274.         *% HCO Face-Up
  1275.         *rcNameID: 284
  1276.         *OutputOrderReversed?:  TRUE
  1277.         *Command: CmdSelect
  1278.         {
  1279.             *Order: JOB_SETUP.5
  1280.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
  1281.         }
  1282.     }
  1283.     *Option: Option5
  1284.     {
  1285.         *% Mailbox 1
  1286.         *rcNameID: 412
  1287.         *Command: CmdSelect
  1288.         {
  1289.             *Order: JOB_SETUP.5
  1290.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1291.         }
  1292.     }
  1293.     *Option: Option6
  1294.     {
  1295.         *% Mailbox 2
  1296.         *rcNameID: 413
  1297.         *Command: CmdSelect
  1298.         {
  1299.             *Order: JOB_SETUP.5
  1300.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>"
  1301.         }
  1302.     }
  1303.     *Option: Option7
  1304.     {
  1305.         *% Mailbox 3
  1306.         *rcNameID: 414
  1307.         *Command: CmdSelect
  1308.         {
  1309.             *Order: JOB_SETUP.5
  1310.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN4<0A>"
  1311.         }
  1312.     }
  1313.     *Option: Option8
  1314.     {
  1315.         *% Mailbox 4
  1316.         *rcNameID: 415
  1317.         *Command: CmdSelect
  1318.         {
  1319.             *Order: JOB_SETUP.5
  1320.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN5<0A>"
  1321.         }
  1322.     }
  1323.     *Option: Option9
  1324.     {
  1325.         *% Mailbox 5
  1326.         *rcNameID: 416
  1327.         *Command: CmdSelect
  1328.         {
  1329.             *Order: JOB_SETUP.5
  1330.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN6<0A>"
  1331.         }
  1332.     }
  1333.     *Option: Option10
  1334.     {
  1335.         *% Mailbox 6
  1336.         *rcNameID: 417
  1337.         *Command: CmdSelect
  1338.         {
  1339.             *Order: JOB_SETUP.5
  1340.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN7<0A>"
  1341.         }
  1342.     }
  1343.     *Option: Option11
  1344.     {
  1345.         *% Mailbox 7
  1346.         *rcNameID: 418
  1347.         *Command: CmdSelect
  1348.         {
  1349.             *Order: JOB_SETUP.5
  1350.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN8<0A>"
  1351.         }
  1352.     }
  1353.     *Option: Option12
  1354.     {
  1355.         *% Mailbox 8
  1356.         *rcNameID: 419
  1357.         *Command: CmdSelect
  1358.         {
  1359.             *Order: JOB_SETUP.5
  1360.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN9<0A>"
  1361.         }
  1362.     }
  1363.  
  1364.     *Option: Option13
  1365.     {
  1366.         *% Stapler
  1367.         *rcNameID: 433   
  1368.         *Command: CmdSelect
  1369.         {
  1370.             *Order: JOB_SETUP.5
  1371.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN7<0A>@PJL SET FINISH=STAPLE<0A>"
  1372.         }
  1373.        
  1374.     }
  1375.  
  1376.     *Option: Option14
  1377.     {
  1378.         *% Stacker
  1379.         *rcNameID: 431   
  1380.         *Command: CmdSelect
  1381.         {
  1382.             *Order: JOB_SETUP.5
  1383.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1384.         }
  1385.     }
  1386.     *Option: Option15
  1387.     {
  1388.         *% Job Separator
  1389.         *rcNameID: 432   
  1390.         *Command: CmdSelect
  1391.         {
  1392.             *Order: JOB_SETUP.5
  1393.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1394.         }
  1395.     }
  1396.     *Option: Option16
  1397.     {
  1398.         *% Collator
  1399.         *rcNameID: 392   
  1400.         *Command: CmdSelect
  1401.         {
  1402.             *Order: JOB_SETUP.5
  1403.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1404.         }
  1405.     }
  1406. }
  1407.  
  1408. *%
  1409. *% installed HCO / OutputBin constraints
  1410. *%
  1411. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option4)
  1412. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option5)
  1413. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option6)
  1414. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option7)
  1415. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option8)
  1416. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option9)
  1417. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option10)
  1418. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option11)
  1419. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option12)
  1420. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option13)
  1421. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option14)
  1422. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option15)
  1423. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option16)
  1424.  
  1425.  
  1426. *InvalidCombination: LIST(Option20.MBM5S, OutputBin.Option3)
  1427. *InvalidCombination: LIST(Option20.MBM5S, OutputBin.Option10)
  1428. *InvalidCombination: LIST(Option20.MBM5S,  OutputBin.Option11)
  1429. *InvalidCombination: LIST(Option20.MBM5S, OutputBin.Option12)
  1430.  
  1431. *InvalidCombination: LIST(Option20.MBM8, OutputBin.Option3)
  1432. *InvalidCombination: LIST(Option20.MBM8, OutputBin.Option13)
  1433.  
  1434. *%
  1435. *% Stapling (OutputBin.Option13) / Sizes, Types constraints
  1436. *%
  1437. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.LEGAL)
  1438. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.EXECUTIVE)
  1439. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.11X17)
  1440. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_10)
  1441. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_DL)
  1442. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_MONARCH)
  1443. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.A3)
  1444. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.B4)
  1445. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.B5)
  1446. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_C5)
  1447. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_B5)
  1448. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.CUSTOMSIZE)
  1449. *Ifdef: WINNT_50
  1450. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  1451. *Endif: WINNT_50
  1452. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.MyMax117x177)
  1453.  
  1454. *%
  1455. *% Envelopes constrained to top and left face up
  1456. *%
  1457. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option5)
  1458. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option6)
  1459. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option7)
  1460. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option8)
  1461. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option9)
  1462. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option10)
  1463. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option11)
  1464. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option12)
  1465. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option14)
  1466. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option15)
  1467. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option16)
  1468.  
  1469. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option5)
  1470. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option6)
  1471. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option7)
  1472. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option8)
  1473. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option9)
  1474. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option10)
  1475. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option11)
  1476. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option12)
  1477. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option14)
  1478. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option15)
  1479. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option16)
  1480.  
  1481. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option5)
  1482. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option6)
  1483. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option7)
  1484. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option8)
  1485. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option9)
  1486. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option10)
  1487. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option11)
  1488. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option12)
  1489. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option14)
  1490. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option15)
  1491. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option16)
  1492.  
  1493. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option5)
  1494. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option6)
  1495. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option7)
  1496. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option8)
  1497. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option9)
  1498. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option10)
  1499. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option11)
  1500. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option12)
  1501. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option14)
  1502. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option15)
  1503. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option16)
  1504.  
  1505. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option5)
  1506. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option6)
  1507. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option7)
  1508. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option8)
  1509. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option9)
  1510. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option10)
  1511. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option11)
  1512. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option12)
  1513. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option14)
  1514. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option15)
  1515. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option16)
  1516.  
  1517. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option5)
  1518. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option6)
  1519. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option7)
  1520. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option8)
  1521. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option9)
  1522. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option10)
  1523. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option11)
  1524. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option12)
  1525. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option14)
  1526. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option15)
  1527. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option16)
  1528.  
  1529. *Ifdef: WINNT_50
  1530. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option5)
  1531. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option6)
  1532. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option7)
  1533. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option8)
  1534. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option9)
  1535. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option10)
  1536. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option11)
  1537. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option12)
  1538. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option14)
  1539. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option15)
  1540. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option16)
  1541. *Endif: WINNT_50
  1542.  
  1543. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option5)
  1544. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option6)
  1545. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option7)
  1546. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option8)
  1547. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option9)
  1548. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option10)
  1549. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option11)
  1550. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option12)
  1551. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option14)
  1552. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option15)
  1553. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option16)
  1554.  
  1555. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option5)
  1556. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option6)
  1557. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option7)
  1558. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option8)
  1559. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option9)
  1560. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option10)
  1561. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option11)
  1562. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option12)
  1563. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option14)
  1564. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option15)
  1565. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option16)
  1566.  
  1567. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option5)
  1568. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option6)
  1569. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option7)
  1570. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option8)
  1571. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option9)
  1572. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option10)
  1573. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option11)
  1574. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option12)
  1575. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option13)
  1576. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option14)
  1577. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option15)
  1578. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option16)
  1579.  
  1580. *InvalidCombination: LIST(MediaType.Transparency,OutputBin.Option5)
  1581. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option6)
  1582. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option7)
  1583. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option8)
  1584. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option9)
  1585. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option10)
  1586. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option11)
  1587. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option12)
  1588. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option13)
  1589. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option14)
  1590. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option15)
  1591. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option16)
  1592.  
  1593. *InvalidCombination: LIST(MediaType.Labels,OutputBin.Option5)
  1594. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option6)
  1595. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option7)
  1596. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option8)
  1597. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option9)
  1598. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option10)
  1599. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option11)
  1600. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option12)
  1601. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option13)
  1602. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option14)
  1603. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option15)
  1604. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option16)
  1605.  
  1606. *Feature: PageProtect
  1607. {
  1608.     *rcNameID: =PAGE_PROTECTION_DISPLAY
  1609.     *DefaultOption: OFF
  1610.     *Option: ON
  1611.     {
  1612.         *rcNameID: =ON_DISPLAY
  1613.         *Command: CmdSelect
  1614.         {
  1615.             *Order: JOB_SETUP.2
  1616.             *Cmd: "@PJL SET PAGEPROTECT=ON<0A>"
  1617.         }
  1618.     }
  1619.     *Option: OFF
  1620.     {
  1621.         *rcNameID: =OFF_DISPLAY
  1622.         *Command: CmdSelect
  1623.         {
  1624.             *Order: JOB_SETUP.2
  1625.             *Cmd: "@PJL SET PAGEPROTECT=OFF<0A>@PJL SET PAGEPROTECT=AUTO<0A>"
  1626.         }
  1627.     }
  1628. }
  1629. *%-------------------------------------------------------------------------
  1630. *% Job setup commands
  1631. *%-------------------------------------------------------------------------
  1632. *Command: CmdStartJob
  1633. {
  1634.     *Order: JOB_SETUP.1
  1635.     *Cmd: "<1B>%%-12345X"
  1636. +         "@PJL COMMENT HP LaserJet 5Si<0A>"
  1637. }
  1638. *Command: CmdStartDoc
  1639. {
  1640.     *Order: DOC_SETUP.1
  1641.     *Cmd: "<1B>&u600D<1B>*r0F"
  1642. }
  1643. *Command: CmdStartPage
  1644. {
  1645.     *Order: PAGE_SETUP.1
  1646.     *Cmd: "<1B>*b0M<0D>"
  1647. }
  1648. *Command: CmdEndJob
  1649. {
  1650.     *Order: JOB_FINISH.1
  1651.     *Cmd: "<1B>E<1B>%%-12345X"
  1652. }
  1653.  
  1654. *% Only set number of copies if printer collation is not possible.
  1655. *% This should mirror the setting of QTY (see *Feature: Collate).
  1656. *% That is if QTY is set, copies should be 1 else NumOfCopies.
  1657. *switch: Collate
  1658. {
  1659.     *case: OFF
  1660.     {
  1661.         *Command: CmdCopies
  1662.         {
  1663.             *Order: DOC_SETUP.7
  1664.             *% Uncollated copies!  Set copy count to NumOfCopies
  1665.             *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1666.         }
  1667.     }
  1668.     *case: ON
  1669.     {
  1670.         *switch: PrinterHardDisk
  1671.         {
  1672.             *case: FALSE
  1673.             {
  1674.                 *Command: CmdCopies
  1675.                 {
  1676.                     *Order: DOC_SETUP.7
  1677.                     *% Collate requested but no disk => printer collate disabled
  1678.                     *% WordPad on Whistler does not handle single page documents correctly.  The
  1679.                     *% Printer hard disk switch ensures the user gets the requested copies.
  1680.                     *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1681.                 }
  1682.             }
  1683.             *case: TRUE
  1684.             {
  1685.                 *Command: CmdCopies
  1686.                 {
  1687.                     *Order: DOC_SETUP.7
  1688.                     *% Collate requested with disk => printer collate enabled
  1689.                     *% Printer will take care of collated copies
  1690.                     *Cmd: "<1B>&l1X"
  1691.                 }
  1692.             }
  1693.         }
  1694.     }
  1695. }
  1696.  
  1697. *RotateCoordinate?: TRUE
  1698. *RotateRaster?: TRUE
  1699. *RotateFont?: TRUE
  1700. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  1701. *MemoryUsage: LIST(FONT)
  1702. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1703. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1704. *XMoveThreshold: 0
  1705. *YMoveThreshold: 0
  1706. *XMoveUnit: 600
  1707. *YMoveUnit: 600
  1708. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  1709. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1710. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1711. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  1712. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  1713. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  1714. *Command: CmdCR { *Cmd : "<0D>" }
  1715. *Command: CmdLF { *Cmd : "<0A>" }
  1716. *Command: CmdFF { *Cmd : "<0C>" }
  1717. *Command: CmdBackSpace { *Cmd : "<08>" }
  1718. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  1719. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  1720. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  1721. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  1722. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  1723. *EjectPageWithFF?: TRUE
  1724. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1725. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1726. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1727. *OutputDataFormat: H_BYTE
  1728. *OptimizeLeftBound?: TRUE
  1729. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1730. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1731. *DefaultFont: 229
  1732. *DefaultCTT: 0
  1733. *CharPosition: BASELINE
  1734. *TTFSEnabled?: TRUE
  1735. *DeviceFonts: LIST(146,147,148,149,150,151,152,153,154,155,
  1736. +       156,157,164,165,166,196,197,198,199,200,
  1737. +       201,202,203,209,210,211,212,213,214,215,
  1738. +       216,217,218,219,220,221,222,223,224,225,
  1739. +       226,227,228,229,230)
  1740. *FontCartridge: FC1
  1741. {
  1742.     *rcCartridgeNameID: 322
  1743.     *Fonts: LIST(117,118,119,120,121,122,123,124,126,127,128,129,130,131,132,133,125)
  1744. }
  1745. *FontCartridge: FC2
  1746. {
  1747.     *rcCartridgeNameID: 323
  1748.     *Fonts: LIST(1,2,3,4,27,28,29,30,44,45,69,70,71,72,73,74,
  1749. +                   75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,
  1750. +                   91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107)
  1751. }
  1752. *FontCartridge: FC3
  1753. {
  1754.     *rcCartridgeNameID: 324
  1755.     *Fonts: LIST(31,32,33,34,35,36)
  1756. }
  1757. *FontCartridge: FC4
  1758. {
  1759.     *rcCartridgeNameID: 325
  1760.     *Fonts: LIST(37,38,39,40,41,42,43)
  1761. }
  1762. *FontCartridge: FC5
  1763. {
  1764.     *rcCartridgeNameID: 326
  1765.     *Fonts: LIST(16,17,18,46,47,48,49,108,109,110,111,112,113,114,115,116)
  1766. }
  1767. *FontCartridge: FC6
  1768. {
  1769.     *rcCartridgeNameID: 327
  1770.     *Fonts: LIST(40,41,42,43,59,60,65,66,67,68,69,70,71,72,142,143,
  1771. +                   144,145)
  1772. }
  1773. *FontCartridge: FC7
  1774. {
  1775.     *rcCartridgeNameID: 328
  1776.     *Fonts: LIST(10,50,51,52,53,54,55,56,57,58,59,60,62,63,64)
  1777. }
  1778. *FontCartridge: FC8
  1779. {
  1780.     *rcCartridgeNameID: 329
  1781.     *Fonts: LIST(14,19,20,21,22,23,24,25,26)
  1782. }
  1783. *FontCartridge: FC9
  1784. {
  1785.     *rcCartridgeNameID: 330
  1786.     *Fonts: LIST(5,6,7,8,9,11,12,13,14,15,141)
  1787. }
  1788. *FontCartridge: FC10
  1789. {
  1790.     *rcCartridgeNameID: 331
  1791.     *Fonts: LIST(231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,
  1792. +                   247,248)
  1793. }
  1794. *FontCartridge: FC11
  1795. {
  1796.     *rcCartridgeNameID: 332
  1797.     *Fonts: LIST(154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,
  1798. +                   170,171,172,173,174,175,176,177,178,179,180,181,182)
  1799. }
  1800. *FontCartridge: FC12
  1801. {
  1802.     *rcCartridgeNameID: 333
  1803.     *Fonts: LIST(183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,
  1804. +                   199,200,201,202,203,204,205,206,207,208)
  1805. }
  1806. *MinFontID: 16534
  1807. *MaxFontID: 32768
  1808. *switch: Resolution
  1809. {
  1810.     *case: Option1
  1811.     {
  1812.         *FontFormat: HPPCL_OUTLINE
  1813.     }
  1814.     *case: Option2
  1815.     {
  1816.         *FontFormat: HPPCL_RES
  1817.     }
  1818. }
  1819. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1820. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1821. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1822. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1823. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1824. *Command: CmdDownloadPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*c" %d{PatternBrushSize}"W" }
  1825. *Command: CmdSelectPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*v" %d{PatternBrushType}"T" }
  1826. *Command: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
  1827. *Command: CmdSelectBlackBrush { *Cmd : "<1B>*v0o0T" }
  1828. *MinGrayFill: 1
  1829. *MaxGrayFill: 100
  1830. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  1831. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  1832. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  1833. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1834. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }
  1835.  
  1836. *Ifdef: WINNT_51
  1837. *Personality: =PERSONALITY_HPGL2
  1838.  
  1839. *%********************************************************************
  1840. *%      Graphics Mode: Custom Feature
  1841. *%********************************************************************
  1842. *Feature: GraphicsMode
  1843. {
  1844.     *rcNameID: =GRAPHICSMODE_DISPLAY
  1845.     *DefaultOption: HPGL2MODE
  1846.     *Option: HPGL2MODE
  1847.     {
  1848.         *rcNameID: =GRAPHICSMODE_HPGL2_DISPLAY
  1849.         *Constraints: Resolution.Option2
  1850.     }
  1851.     *Option: RASTERMODE
  1852.     {
  1853.         *rcNameID: =GRAPHICSMODE_RASTER_DISPLAY
  1854.     }
  1855. }
  1856.  
  1857. *Endif: WINNT_51
  1858.